package p;

public class Test {
    public static void main(String[] args) {
        //new 一个账户对象
        Account a = new Account("0123123",10000);
        Thread t1 = new Thread(new UserThread(a,5000));
        Thread t2 = new Thread(new UserThread(a,5000));
        t1.setName("黄纪元");
        t2.setName("张亮");
        t2.start();
        t1.start();
    }
}
